--[[
@FileName: LuaNGUIFormFactory
@Date:     2018-04-10 04/10/18
@Author:   zhangpenghui
@Description:
]]

function OnInit(userData)
	Class = require(self.LuaScriptName)
	object = Class.New(self, userData)
end

function OnOpen(userData)
	object:__OnOpen(userData)
end

function OnClose(userData)
	object:__OnClose(userData)
end

function OnPause()
	object:__OnPause()
end

function OnResume()
	object:__OnResume()
end

function OnCover()
	object:__OnCover()
end

function OnReveal()
	object:__OnReveal()
end

function OnRefocus(userData)
	object:__OnRefocus(userData)
end

function OnDepthChanged(uiGroupDepth, depthInUIGroup)
	object:__OnDepthChanged(uiGroupDepth, depthInUIGroup)
end

function OnClick(gameObject)
	object:__OnClick(gameObject)
end

function OnToggle(gameObject)
	object:__OnToggle(gameObject)
end

function OnInputChange(gameObject)
	object:__OnInputChange(gameObject)
end

function OnPress(gameObject)
	object:__OnPress(gameObject)
end

function OnRelease(gameObject)
	object:__OnRelease(gameObject)
end

function OnDragOver(gameObject)
	object:__OnDragOver(gameObject)
end

function OnDragOut(gameObject)
	object:__OnDragOut(gameObject)
end

function OnEvent(userData)
	object:__OnEvent(userData)
end

function OnDestroy()
	object:__OnDestroy()
end
